/**
 * output package name
 */
package com.kingdee.eas.mx.basedata.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class PaymentEnum extends StringEnum
{
    public static final String ACCEPTANCE_VALUE = "1";
    public static final String DOACCEPT_VALUE = "2";
    public static final String CASH_VALUE = "3";

    public static final PaymentEnum acceptance = new PaymentEnum("acceptance", ACCEPTANCE_VALUE);
    public static final PaymentEnum Doaccept = new PaymentEnum("Doaccept", DOACCEPT_VALUE);
    public static final PaymentEnum cash = new PaymentEnum("cash", CASH_VALUE);

    /**
     * construct function
     * @param String paymentEnum
     */
    private PaymentEnum(String name, String paymentEnum)
    {
        super(name, paymentEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static PaymentEnum getEnum(String paymentEnum)
    {
        return (PaymentEnum)getEnum(PaymentEnum.class, paymentEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(PaymentEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(PaymentEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(PaymentEnum.class);
    }
}